package com.suzj.extraenchantments.enchant.Ench_03;

import com.suzj.extraenchantments.Config;

import com.suzj.extraenchantments.enchant.EquipmentSlotTypeSet;
import net.minecraft.world.item.enchantment.Enchantment;
import net.minecraft.world.item.enchantment.EnchantmentCategory;


public class EnchantmentMicroscopicReordering extends Enchantment {
    public EnchantmentMicroscopicReordering() {
        super(Enchantment.Rarity.RARE, EnchantmentCategory.BREAKABLE, EquipmentSlotTypeSet.ALL);
    }

    public int getMaxLevel() {
        if (((Boolean) Config.SERVER.isMicroscopicReordering.get()).booleanValue()) {
            return 1;
        }
        return 0;
    }

    public int getMinCost(int p_77321_1_) {
        return 30;
    }

    public int getMaxCost(int p_223551_1_) {
        return 55;
    }
}